package cn.edu.qzuie.artist.module.td.controller.admin.worksimage.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 作品集新增/修改 Request VO")
@Data
public class WorksImageSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "12204")
    private Long id;

    @Schema(description = "作品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22108")
    @NotNull(message = "作品编号")
    private Long workId;

    @Schema(description = "作品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "22108")
    private String workName;


    @Schema(description = "图片", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "图片不能为空")
    private String imgSrc;

    @Schema(description = "排序顺序", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer sortOrder;

    @Schema(description = "缩略图电脑段", requiredMode = Schema.RequiredMode.REQUIRED)
    private String pcThumnail;

    @Schema(description = "缩略图移动端", requiredMode = Schema.RequiredMode.REQUIRED)
    private String mobileThumnail;

    @Schema(description = "作品说明", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("作品说明")
    private String describes;

}